package com.guigu.qingcheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

@ToString
@ApiModel("")
@Table(name = "tb_return_order_item")
public class TbReturnOrderItem {
    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    @NotNull(message="ID不能为空")
    @Id
    private Long id;

    /**
     * 分类ID
     */
    @ApiModelProperty(value = "分类ID")
    @Column(name = "category_id")
    private Long categoryId;

    /**
     * SPU_ID
     */
    @ApiModelProperty(value = "SPU_ID")
    @Column(name = "spu_id")
    private Long spuId;

    /**
     * SKU_ID
     */
    @ApiModelProperty(value = "SKU_ID")
    @NotNull(message="SKU_ID不能为空")
    @Column(name = "sku_id")
    private Long skuId;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    @NotNull(message="订单ID不能为空")
    @Column(name = "order_id")
    private Long orderId;

    /**
     * 订单明细ID
     */
    @ApiModelProperty(value = "订单明细ID")
    @Column(name = "order_item_id")
    private Long orderItemId;

    /**
     * 退货订单ID
     */
    @ApiModelProperty(value = "退货订单ID")
    @NotNull(message="退货订单ID不能为空")
    @Column(name = "return_order_id")
    private Long returnOrderId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 单价
     */
    @ApiModelProperty(value = "单价")
    private Integer price;

    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private Integer num;

    /**
     * 总金额
     */
    @ApiModelProperty(value = "总金额")
    private Integer money;

    /**
     * 支付金额
     */
    @ApiModelProperty(value = "支付金额")
    @Column(name = "pay_money")
    private Integer payMoney;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址")
    private String image;

    /**
     * 重量
     */
    @ApiModelProperty(value = "重量")
    private Integer weight;

    /**
     * 获取ID
     *
     * @return id - ID
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置ID
     *
     * @param id ID
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取分类ID
     *
     * @return category_id - 分类ID
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * 设置分类ID
     *
     * @param categoryId 分类ID
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 获取SPU_ID
     *
     * @return spu_id - SPU_ID
     */
    public Long getSpuId() {
        return spuId;
    }

    /**
     * 设置SPU_ID
     *
     * @param spuId SPU_ID
     */
    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    /**
     * 获取SKU_ID
     *
     * @return sku_id - SKU_ID
     */
    public Long getSkuId() {
        return skuId;
    }

    /**
     * 设置SKU_ID
     *
     * @param skuId SKU_ID
     */
    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    /**
     * 获取订单ID
     *
     * @return order_id - 订单ID
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置订单ID
     *
     * @param orderId 订单ID
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取订单明细ID
     *
     * @return order_item_id - 订单明细ID
     */
    public Long getOrderItemId() {
        return orderItemId;
    }

    /**
     * 设置订单明细ID
     *
     * @param orderItemId 订单明细ID
     */
    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    /**
     * 获取退货订单ID
     *
     * @return return_order_id - 退货订单ID
     */
    public Long getReturnOrderId() {
        return returnOrderId;
    }

    /**
     * 设置退货订单ID
     *
     * @param returnOrderId 退货订单ID
     */
    public void setReturnOrderId(Long returnOrderId) {
        this.returnOrderId = returnOrderId;
    }

    /**
     * 获取标题
     *
     * @return title - 标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置标题
     *
     * @param title 标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取单价
     *
     * @return price - 单价
     */
    public Integer getPrice() {
        return price;
    }

    /**
     * 设置单价
     *
     * @param price 单价
     */
    public void setPrice(Integer price) {
        this.price = price;
    }

    /**
     * 获取数量
     *
     * @return num - 数量
     */
    public Integer getNum() {
        return num;
    }

    /**
     * 设置数量
     *
     * @param num 数量
     */
    public void setNum(Integer num) {
        this.num = num;
    }

    /**
     * 获取总金额
     *
     * @return money - 总金额
     */
    public Integer getMoney() {
        return money;
    }

    /**
     * 设置总金额
     *
     * @param money 总金额
     */
    public void setMoney(Integer money) {
        this.money = money;
    }

    /**
     * 获取支付金额
     *
     * @return pay_money - 支付金额
     */
    public Integer getPayMoney() {
        return payMoney;
    }

    /**
     * 设置支付金额
     *
     * @param payMoney 支付金额
     */
    public void setPayMoney(Integer payMoney) {
        this.payMoney = payMoney;
    }

    /**
     * 获取图片地址
     *
     * @return image - 图片地址
     */
    public String getImage() {
        return image;
    }

    /**
     * 设置图片地址
     *
     * @param image 图片地址
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 获取重量
     *
     * @return weight - 重量
     */
    public Integer getWeight() {
        return weight;
    }

    /**
     * 设置重量
     *
     * @param weight 重量
     */
    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}